<?php
function poiProductCellRender($cell, $data){
	if($cell->getColumn()->getName() == 'status'){
		$text = $cell->getCellText();
		$status = Kd_Localize_Helper::getLanguageItems('status.publication');
		return '<span>'.$status[$text].'</span>';
	}
	return FALSE;
}
$this->grid->setCellRender(poiProductCellRender);

$this->setLayout('template'.DS.'default.phtml');
$this->startBlock('topbar');
echo $this->navigation->toHtml();
$this->endBlock();

$this->startBlock();
echo $this->loadTemplate('share'.DS.'grid.phtml', array('grid'=>$this->grid, 'toolbar'=>$this->toolbar, 'pagination'=>$this->pagination));
$this->endBlock();